import 'package:flutter/material.dart';

import 'dart:ui';
import 'present_page.dart';
import 'push_page.dart';

void main(List<String> args) => runApp(_widgetRorRoute(window.defaultRouteName));

Widget _widgetRorRoute(String route) {
  print('>>>>>>>>>>>>>>log route:' + route);

  switch(route){
    case 'presentPage':
      return PresentPageApp();
    case 'pushPage':
      return PushFirstApp();
    default:
      return PushFirstApp();
  }
}